package com.lihui.model;

import java.util.Comparator;

/**
 * 功能描述
 *
 * @author wileda
 * @date 2022/11/07  10:37
 */
public class StudentCompareWithName implements Comparator<Student> {
    @Override
    public int compare(Student o1, Student o2) {
        return o1.getName().compareTo(o2.getName());
    }
}
